import { createApp } from 'vue'
import ArcoVue from '@arco-design/web-vue'
import '@arco-design/web-vue/dist/arco.css'
import 'bytemd/dist/index.css'
import persistent from 'pinia-plugin-persistedstate'
import { createPinia } from 'pinia'
import '@/access'

import App from './App.vue'
import router from './router'

const app = createApp(App)
const pinia = createPinia()

pinia.use(persistent)
app.use(ArcoVue)
app.use(createPinia())
app.use(router)
app.use(pinia)

app.mount('#app')
